<html>

<head>
<title>ddddd</title>

		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
		<script type="text/javascript">
      (function() {
        window.onload = function(){
        	// Creating a LatLng object containing the coordinate for the center of the map  
          var latlng = new google.maps.LatLng(56.83, 15.16);  
          // Creating an object literal containing the properties we want to pass to the map  
          var options = {  
          	zoom: 7,
          	center: new google.maps.LatLng(56.83, 15.16),
          	mapTypeId: google.maps.MapTypeId.ROADMAP
          };    
          // Calling the constructor, thereby initializing the map  
          var map = new google.maps.Map(document.getElementById('map'), options);  
                    
          // Creating a marker
          var marker = new google.maps.Marker({
            position: new google.maps.LatLng(56.8848, 14.7730), 
            map: map,
            title: 'My workplace'
          });
          
          // Creating an InfowWindow          
          var infowindow = new google.maps.InfoWindow({
            content: 'Hello world'
          });
          
          // Adding a click event to the marker
          google.maps.event.addListener(marker, 'click', function() {
            // Opening the InfoWindow
          	infowindow.open(map, marker);
          });
      	}
      })();
		</script>
</head>
<body>
<div id="map"></div>
</body>
</html>
